using UnityEngine;

namespace PKGames
{
	public class Spinner : MonoBehaviour
	{
		[SerializeField]
		private Vector3 _spin;

		private void OnEnable()
		{
			base.transform.rotation = Quaternion.identity;
		}

		private void OnDisable()
		{
			base.transform.rotation = Quaternion.identity;
		}

		private void Update()
		{
			base.transform.Rotate(_spin);
		}
	}
}
